package com.zyg.apart.mapper;

import com.zyg.apart.model.Flatplay;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface FlatplayMapper {

    List<Map<String, Object>> getAllPlay();

    Flatplay getPlayById(Integer id);

    int editPlay(Flatplay flatplay);

    int addPlay(Flatplay flatplay);

    int delPlayById(Integer id);
}